package com.xp.pgoj.constant;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/**
 * @author <a href=""https://github.com/Fzs0>逢左使</a>
 * @create 2024/10/01 17:35
 * @Description: AI接口调用有关的常量
 */
public interface AIUrlConstant {

    String ASYNC_URL = "https://open.bigmodel.cn/api/paas/v4/async-result/";

    // 使用 Collections.unmodifiableMap 创建不可变 Map
    Map<String, Object> HEADERS = Collections.unmodifiableMap(new HashMap<String, Object>() {{
        put("Content-Type", "application/json");
        put("Authorization", "Bearer 0315d4dab22f84e541d7046736c31dba.TsngMYRRhPCiLKu2");
    }});

}
